//主数据表格配置
export const columns = [
  // { title: '生产企业社会编码', dataIndex: 'manufacturerCode', key: 'manufacturerCode', align: 'center' },
  // { title: '生产企业中文名称', dataIndex: 'manufacturerZh', key: 'manufacturerZh', align: 'center' },
  // { title: '生产企业英文名称', dataIndex: 'manufacturerEn', key: 'manufacturerEn', align: 'center' },
  // { title: '生产企业城市', dataIndex: 'city', key: 'city', align: 'center' },
  // { title: '生产企业地点', dataIndex: 'addr', key: 'addr', align: 'center' },
  // { title: '是否外资', dataIndex: 'foreign', key: 'foreign', align: 'center' },
  { title: '营业执照', dataIndex: 'busLicense', key: 'busLicense', align: 'center' },
  { title: '营业执照版本', dataIndex: 'busLicVersion', key: 'busLicVersion', align: 'center' },
  { title: '营业执照版本有效期始', dataIndex: 'busLicBeginDate', key: 'busLicBeginDate', align: 'center' },
  { title: '营业执照版本有效期至', dataIndex: 'busLicEndDate', key: 'busLicEndDate', align: 'center' },
  { title: '经营许可证', dataIndex: 'permitLicense', key: 'permitLicense', align: 'center' },
  { title: '生产经营许可证版本', dataIndex: 'permitLicVersion', key: 'permitLicVersion', align: 'center' },
  { title: '生产经营许可证有效期始', dataIndex: 'permitLicBeginDate', key: 'permitLicBeginDate', align: 'center' },
  { title: '生产经营许可证有效期至', dataIndex: 'permitLicEndDate', key: 'permitLicEndDate', align: 'center' },
  { title: '状态', dataIndex: 'state', key: 'state', align: 'center' },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'operation',
    width: 180,
    align: 'center',
    scopedSlots: { customRender: 'action' }
  }
]

//主数据明细columns
export const columnsDetail = []

//主数据查询配置
export const q_formInfos = [
  { label: '证类型', name: 'zhengZhaolx', type: 'dicselect', dicName: 'zhuCezlx', placeholder: '证类型' },
  { label: '证号', name: 'zhengZhaohm', type: 'input', placeholder: '证号' },
  { label: '生产厂商', name: 'shengChancsmc', type: 'input', placeholder: '生产厂商' },
  { label: '注册证状态', name: 'zhuangTai', type: 'dicselect', dicName: 'zhuCezzt', placeholder: '注册证状态' },
  { label: ['查询', '重置'], type: 'botton' }
]

export const q_formDatas = {
  zhuangTai: null,
  zhengZhaohm: null,
  zhengZhaolx: null,
  shengChancsmc: null,
  supplierOrgPid: null,
  supplierOrgCode: null
}

//添加主数据表单配置
export const s_FormInfo = []
export const s_formDatas = {}
export const s_rules = {}

//查看明细显示配置
export const infoDatas = []
